package com.zatech.cgnci.project.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 类 ExcelHeader 的实现描述：excel模板表头
 * </p>
 *
 * @author za-xiaojingjie
 * @version 2024/12/27 13:56
 * @since 2024/12/27 13:56
 */
@Data
@Builder
public class ExcelHeader {
    private static final long serialVersionUID = 4744880914673412720L;
    public static final String DATA_TYPE_DATE = "date";
    private Integer sheetNo;
    private String sheetName;
    private String code;
    private String name;
    //是否必填
    private boolean required;
    private boolean repeatCheck;
    private Integer maxLength;
    //下拉列表值
    private List<String> optionList;
    private List<String> optionCodeList;
    private String dictCode;
    private String dynamicTypeCode;
    private String dynamicTypeName;
    private String exampleValue;
    private String defaultValue;
    private String valueDataType;
    @ApiModelProperty("数值精度")
    private Integer accuracy;
    //表格公式
    private String formula;
}
